package com.hdhere.application.Repository;

import com.hdhere.domain.UserInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.querydsl.QuerydslPredicateExecutor;
/**
 * Created by dus on 2018/11/29.
 */
public interface UserInfoRepository extends JpaRepository<UserInfo,Long>, /* QuerydslPredicateExecutor*/QuerydslPredicateExecutor<UserInfo> {

    UserInfo findByUsername(String username);
}
